package com.ruoyi.boss.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 营业额对象 t_turnover
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TTurnover extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long turnoverId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date turnoverTime;

    /** 营业额 */
    @Excel(name = "营业额")
    private BigDecimal turnoverMoney;

    /** 创建人 */
    private String createdBy;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    public void setTurnoverId(Long turnoverId) 
    {
        this.turnoverId = turnoverId;
    }

    public Long getTurnoverId() 
    {
        return turnoverId;
    }

    public void setTurnoverTime(Date turnoverTime) 
    {
        this.turnoverTime = turnoverTime;
    }

    public Date getTurnoverTime() 
    {
        return turnoverTime;
    }

    public void setTurnoverMoney(BigDecimal turnoverMoney) 
    {
        this.turnoverMoney = turnoverMoney;
    }

    public BigDecimal getTurnoverMoney() 
    {
        return turnoverMoney;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("turnoverId", getTurnoverId())
            .append("turnoverTime", getTurnoverTime())
            .append("turnoverMoney", getTurnoverMoney())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
